<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>v-text&v-html</title>
    <script type="text/javascript" src="../assets/js/vue-2.3.0.js"></script>
</head>
<body>
    <h1>v-text&v-html</h1>
    <hr>
    <div id="app">
        <div v-text="message"></div>
        <div v-html="msg"></div>
    </div>
</body>
<script type="text/javascript">
    var app = new Vue({
        el:'#app',
        data:{
            message: '琵琶行',
            msg:'<h3>浔阳江头夜送客，<br>枫叶荻花秋瑟瑟。<br>主人下马客在船，<br>举酒欲饮无管弦</h3>'
        }
    })
</script>
</html>